body,
ul,
ol,
dl,
p,
h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
}

body {
    font-size: 14px;
    color: #101d37;
}

ol,
ul {
    list-style: none;
}


/* css可继承的属性有color：文本颜色
但是因为浏览器偷偷给了锚元素设置了颜色样式，他们是不同的样式规则，
比如父元素div，子元素a，子元素a有自己的默认颜色样式，不存在颜色样式的继承和层叠规则 */

a {
    color: inherit;
}

a,
a:hover {
    text-decoration: none;
}

.clear::after {
    content: "";
    display: block;
    clear: both;
}

input[type=checkbox] {
    margin-right: 5px;
    cursor: pointer;
    font-size: 12px;
    width: 12px;
    height: 12px;
    position: relative;
}

input[type=checkbox]:before {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 0;
    content: " ";
    color: #fff;
    display: inline-block;
    visibility: visible;
    border-radius: 2px;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
}

input[type=checkbox]:checked:before {
    content: "\2714";
    line-height: 12px;
    text-align: center;
    font-size: 10px;
    /* font-weight: 600; */
    background-color: #00ae66;
}


/*  */

.w1150 {
    width: 1150px;
    margin: 0 auto;
}

.fl {
    float: left;
}


/*  头部样式设计*/

.header {
    height: 36px;
    margin: 0;
    background-color: #394043;
    /* box-shadow: 0 1px 0 0 #e4e6f0; */
}

.header_nav {
    color: #9399a5;
    font-size: 12px;
    line-height: 36px;
    margin: 0 auto;
}

.header_nav li {
    float: left;
    margin-right: 22px;
    position: relative;
}

.header_nav li .sub_nav {
    display: none;
}

.header_nav li:hover .sub_nav {
    display: block;
    position: absolute;
    width: 61px;
    top: 35px;
    left: -18px;
    padding: 8px 0;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    background-color: #394043;
    box-shadow: 0 0 8px rgba(0, 0, 0, .7);
}

.header_nav li .sub_nav a {
    display: block;
    line-height: 25px;
    text-align: center;
    color: #a9abab;
}

.header_nav a {
    color: #9399a5;
    display: block;
}

.header_nav a:hover {
    color: white;
}

.header_nav li .sub_nav a:hover {
    background-color: lightslategray;
    color: #fff;
}

.header_nav .header_aside {
    float: right;
}

.header_aside span {
    font-size: 12px;
}

.footer {
    background: url(../images/zufang/footer-bg.jpg)no-repeat top #222;
    font-size: 14px;
    height: 426px;
}

.footer_top {
    height: 75px;
    line-height: 75px;
    border-bottom: 1px solid #393939;
    font-size: 16px;
    overflow: hidden;
}

.footer_top a {
    color: #fff;
    padding-right: 10px;
}

.footer_top :last-child {
    color: #7dcfa0;
    float: right;
}

.footer_middle,
.footer_bottom {
    font-size: 12px;
    color: #888c8e;
}

.footer_middle {
    padding-bottom: 15px;
    border-bottom: 1px solid #393939;
}

.footer_middle ul:nth-child(1)>li {
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 25px;
    margin-right: 10px;
    cursor: pointer;
}

.footer_middle ul:nth-child(1)>li a {
    padding: 8px 10px;
    margin-right: 12px;
    color: #888c8e;
    background: #121212;
}

.footer_middle ul:nth-child(1)>li a:hover {
    color: #fff;
    background: #394043;
}

.footer_middle ul:nth-child(1)>li a.cur {
    color: #fff;
    background: #394043;
}

.footer_middle ul:nth-child(2)>li {
    float: left;
    margin: 10px 10px 0 0;
}

.footer_middle ul:nth-child(2)>li:hover {
    float: left;
    margin: 10px 10px 0 0;
    text-decoration: underline;
}

.footer_bottom {
    padding-top: 10px;
}

.fix_right {
    position: fixed;
    right: 0;
    top: 0;
    width: 38px;
    height: 100%;
    background: #fff;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .2);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fix_middle ul {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 275px;
}

.fix_middle ul li {
    width: 38px;
    height: 38px;
    box-sizing: border-box;
    font-size: 20px;
    text-align: center;
    padding-top: 6px;
    position: relative;
}

.fix_middle ul li span {
    display: none;
}


/* nowrap不换行一定要有 */


/* 样式调整测试用 */


/* .fix_middle ul li span {
    display: none;
    position: absolute;
    top: 0px;
    right: 40px;
    display: block;
    padding: 10px 5px;
    box-sizing: border-box;
    font-size: 12px;
    background-color: #00ae46;
    white-space: nowrap;
} */


/* white-space: nowrap; */


/* .fix_middle ul li p {
    display: block;
    position: absolute;
    top: 0px;
    right: 40px;
    display: block;
    padding: 10px 5px;
    box-sizing: border-box;
    font-size: 12px;
    background-color: #00ae46;
} */

.fix_middle ul li:hover span {
    position: absolute;
    top: 0px;
    right: 40px;
    display: block;
    padding: 10px 5px;
    box-sizing: border-box;
    font-size: 12px;
    background-color: #00ae46;
    /* nowrap不换行一定要有 */
    white-space: nowrap;
}

.fix_middle ul li.icon-richscan_icon:hover span {
    background-color: #fff;
}

.fix_middle ul li.icon-richscan_icon:hover span em {
    display: block;
    padding-top: 8px;
    color: #000;
    line-height: 12px;
    font-size: 12px;
    text-align: center;
}

.fix_middle ul li:hover {
    background-color: #101d37;
    color: #fff;
}